package com.example.demo.service;

import com.example.demo.entity.User;

import java.util.List;

public interface UserService {
    //查询
    List<User> search();
    //增加
    User add(User user);
    //删除
    User deleteById(int id);
    //修改
    User update(User user);

}
